﻿@{
    ViewBag.Title = "Css管理";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
    int i = 1;
}

<div class="container-fluid">
    <div class="row-fluid">
        <div class="widget-box">
            <div class="widget-title">
                <span class="icon"><i class="icon-th"></i></span>
                <h5>
                    Css管理
                </h5>
            </div>
            <div class="widget-content nopadding">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th>
                                序号
                            </th>
                            <th>
                                标题
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach(string str in Model)
                        { 
                        <tr>
                            <td>
                                @i
                            </td>
                            <td>
                                @str
                            </td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn" href="/admin/EditCss?theme=@Request["theme"]&cssname=@str">编辑</a>
                                </div>
                            </td>
                        </tr>
                            i++;
                        }
                    </tbody>
                    </table>
                </div>
            </div>
        </div>
</div>

